package com.caocaog.market.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.caocaog.market.entity.Member;
import com.caocaog.market.vo.MemberVO;
import org.jeecg.common.api.vo.Result;

import java.util.List;

/**
 * 会员信息
 *
 * @author chechen
 * @date 2021-11-19
 */
public interface MemberService extends IService<Member> {

    Result login(Member member);
    //同步送大侠用户
    Result syncSDXMember(Member member);

    IPage<Member> queryMemberPage(Page<Member> page, Member member);

    MemberVO queryMemberOneById(String id);

    String addMember(Member member);

    int updateMember(Member member);

    int deleteMember(String id);

    int deleteBatchMember(List<String> ids);

    int memberStatusChange(String id);

}
